//
//  WebViewController.swift
//  IDF
//
//  Created by 陈徐挺 on 02/04/2018.
//  Copyright © 2018 Jesse.chen. All rights reserved.
//

import UIKit
import WebKit

class WebViewController: BaseViewController {

    var urlRequest: URLRequest!
    
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
        let webView = WKWebView(frame: view.bounds)
        webView.load(urlRequest)
        view.addSubview(webView)
        // Do any additional setup after loading the view.
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
